package com.game.chinesechess.piece;

import com.game.chinesechess.util.Point;

public abstract class chess {
    public Color color;
    public Point point;

    public abstract Boolean check(chess[][] map, int toX, int toY);

    public abstract String getName();

    public Point getPoint() {
        return this.point;
    }

    public Color getColor() {
        return this.color;
    }

    public enum Color {
        BlACK, RED
    }
}